<!-- Title Page -->
<!--  modifier style titre -->
<h3 style="margin-left:25px;margin-top:0px;margin-bottom:15px">
<?php echo lang('news_add_title_page');?>
</h3>

<form method="POST" action="add/add_news">
<?php foreach ($news as $n)?>
<!-- Title News -->
<p> <?php echo lang('news_add_title_news');?> 
<input type="text" value="<?php 
echo (isset($title))? set_value('title'): $n->title;?>" name="title" size="80px">
</p>

<!--  Title Error -->
<!--  modifier style erreur -->
<div id="error"> 
<?php echo '<h3 style="color:red">'.form_error('title').'</h3>';?>
</div>


<!-- Content News -->
<p><?php echo lang('news_add_content');?></p>

<!-- Content Error -->
<div id="error"> 
<?php echo '<h3 style="color:red">'.form_error('content').'</h3>'; ?>
</div>

<!-- TextArea News -->
<textarea name="content" id="editor1" style="witdh:500px;margin-left:10px"; >
<?php echo (isset($content))? set_value('content'): $n->content;?>
</textarea>
<script type="text/javascript">
	CKEDITOR.replace( 'editor1' );
</script>



<input type="submit" value="Ajouter">
</form>